package com.mybatisflex.entity.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

// Auto generate by mybatis-flex, do not modify it.
public class AccountTableEntity extends TableDef {

    public static final AccountTableEntity ACCOUNT = new AccountTableEntity();

    public final QueryColumn ID = new QueryColumn(this, "id");

    public final QueryColumn BANNED = new QueryColumn(this, "banned");

    public final QueryColumn IS_DELETE = new QueryColumn(this, "is_delete");

    public final QueryColumn PASSWORD = new QueryColumn(this, "password");

    public final QueryColumn CREATE_TIME = new QueryColumn(this, "create_time");

    public final QueryColumn ACCOUNT_NAME = new QueryColumn(this, "account_name");

    public final QueryColumn LAST_LOGIN_TIME = new QueryColumn(this, "last_login_time");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, BANNED, IS_DELETE, PASSWORD, CREATE_TIME, ACCOUNT_NAME, LAST_LOGIN_TIME};

    public AccountTableEntity() {
        super("", "account");
    }

}
